﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace EyFramework.SocketServer
{
    public partial class FrmSchisServer : Form
    {
        private SchisSocetServer server = new SchisSocetServer();

        //private bool isStart = false;

        public FrmSchisServer()
        {
            InitializeComponent();
        }

        private void 端口设置SToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmPortSet frmPort = new FrmPortSet();
            frmPort.ShowDialog();
        }

        private void 停止服务TToolStripMenuItem_Click(object sender, EventArgs e)
        {
        }

        private void FrmSchisServer_Load(object sender, EventArgs e)
        {
            server.start();
            //isStart = true;
        }

        private void btnSure_Click(object sender, EventArgs e)
        {
            this.Hide();
        }

        private void 关于AToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmAbout about = new FrmAbout();
            about.ShowDialog();
        }

        private void FrmSchisServer_FormClosing(object sender, FormClosingEventArgs e)
        {
        }

        private void notify_DoubleClick(object sender, EventArgs e)
        {
        }

        private void 退出EToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }
    }
}